package org.jeecg.modules.exPingbiao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.exPingbiao.entity.ExPingbiaoSectionExpertConfig;

import java.util.List;

/**
 * @Description: 评标专家配置
 * @Author: jeecg-boot
 * @Date: 2024-11-09
 * @Version: V1.0
 */
public interface ExPingbiaoSectionExpertConfigMapper extends BaseMapper<ExPingbiaoSectionExpertConfig> {

    List<ExPingbiaoSectionExpertConfig> selectByProjectAndSectionIdIsNull();

    List<ExPingbiaoSectionExpertConfig> selectByProjectAndSectionId(String projectId, String bidSectionId);

    /**
     * 根据标段ID以及专家ID查询
     *
     * @param bidSectionId
     * @param expertId
     * @return
     */
    ExPingbiaoSectionExpertConfig selectBySectionIdAndExpertId(@Param("bidSectionId") String bidSectionId, @Param("expertId") String expertId);

}
